/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

export default {
  path: '/business',
  component: Layout,
  name: 'business',
  meta: {
    title: '业务管理',
    icon: 'el-icon-suitcase'
  },
  children: [
    {
      path: 'customer',
      component: () => import('@/views/business/customer'),
      name: 'customer',
      meta: { title: '客户管理', noCache: true, icon: 'list' }
    },
    {
      path: 'project',
      component: () => import('@/views/business/project'),
      name: 'project',
      meta: { title: '商务项目管理', noCache: true, icon: 'list' }
    },
    {
      path: 'order',
      component: () => import('@/views/business/order'),
      name: 'order',
      meta: { title: '订单管理', noCache: true, icon: 'list' }
    }
  ]
}
